package org.spamforces.web.page;

import org.nocturne.link.Link;

/**
 * @author MikeMirzayanov (mirzayanovmr@gmail.com)
 */
@Link("dashboard")
public class DashboardPage extends BroadcastPage {
    @Override
    public String getTitle() {
        return $("Dashboard");
    }

    @Override
    public void action() {
        put("broadcasts", toFullView(broadcastDao.findAll()));
        put("editBroadcast", "broadcast");
    }
}
